Struct isotope_parser::prettyprint::RefDoc [−]
Expand description
Newtype wrapper for &Doc
Methods from Deref<Target = Doc<'a, RefDoc<'a, A>, A>>
Writes a rendered document to a std::io::Write
object.
Writes a rendered document to a std::fmt::Write
object.
pub fn render_raw<W>(
&self,
width: usize,
out: &mut W
) -> Result<(), <W as Render>::Error> where
W: for<'b> RenderAnnotated<'b, A> + ?Sized,
pub fn render_raw<W>(
&self,
width: usize,
out: &mut W
) -> Result<(), <W as Render>::Error> where
W: for<'b> RenderAnnotated<'b, A> + ?Sized,
Writes a rendered document to a RenderAnnotated<A>
object.
Trait Implementations
Auto Trait Implementations
impl<'a, A = ()> !RefUnwindSafe for RefDoc<'a, A>
impl<'a, A = ()> !UnwindSafe for RefDoc<'a, A>
Blanket Implementations
Mutably borrows from an owned value. Read more